import sha

class Sha1Hash(object):

    def name(self):
        return "SHA1"

    def getHash(self, dic_entry):
		return sha.new(dic_entry).hexdigest()
